<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" dir="{docdir}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta name="generator" content=
  "HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />

  <title>Attributes</title>
  <!--link rel='stylesheet' type='text/css' href='{SITEURL}themes/default/style.css'-->
  <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
</head>

<body>
  <div id="wrapper" class="clearfix">

    <form name="newattr" action="" method="post" id="newattr">
      <table width="98%" cellpadding="0" cellspacing="0" border="1">
        <tr>
          <th align="center"><b>ATTR_ID</b></th>

          <th align="center"><b>NAME</b></th>

          <th align="left"><b>REQUIRED</b></th>

          <th align="left"><b>INHERITABLE</b></th>

          <th align="left"><b>DELETE!!</b></th>
        </tr>

        <tr>
          <!-- BEGIN attrs -->
        </tr>

        <tr>
          <td><input type="hidden" name="ATTR_ID_ARR[{attrs.ATTR_ID}]" value="{attrs.ATTR_ID}" />{attrs.ATTR_ID}</td>

          <td>{attrs.ATTR_NAME}</td>

          <td><input type="checkbox" name="REQUIRED[{attrs.ATTR_ID}]" {attrs.ATTR_REQUIRED} value="{attrs.ATTR_ID}"/></td>

          <td><input type="checkbox" name="INHERITABLE[{attrs.ATTR_ID}]" {attrs.ATTR_INHERITABLE} value="{attrs.ATTR_ID}"/></td>
          <td><input type="checkbox" name="TODEL[{attrs.ATTR_ID}]" value="{attrs.ATTR_ID}"/></td>
        </tr><!-- END attrs -->
      </table><br />
      <hr />
      <table border=1>
        <tr>
          <td>
 	        {ATTRIBUTES_LIST} 
          </td>
          <td>
            REQUIRED:
          </td>
          <td>
            <input type="checkbox" name="NEW_REQUIRED" checked="checked" />
          </td>
          <td>
            INHERITABLE:                            
          </td>
          <td>
            <input type="checkbox" name="NEW_INHERITABLE" checked="checked" /> 
          </td>
          <td>
            <input type="hidden" name="parent" value="{PARENT}" />
            <input type="hidden" name="csrftoken" value="{_CSRFTOKEN}" /> 
            <input type="submit" name="action" class="centre" value="Add attribute" />
          </td>
        </tr>
      </table>
            <input type="submit" name="action" class="centre" value="Submit changes" />
    </form>
  </div>
</body>
</html>
